home *** CD-ROM | disk | FTP | other *** search
/ Cracking 1 / Cracking I..iso / Tools / Ostatní / aPLib v0.26b / src / nasm / READ.ME < prev   
Encoding:
Text File  |  2001-12-15  |  1.2 KB  |  48 lines

  1. - These versions can be compiled with NASM. To compile, use eg.
  2.  
  3.     nasm.exe -f coff depack.nas
  4.     nasm.exe -f coff depackf.nas
  5.     nasm.exe -f obj depack16.nas
  6.  
  7. - They work with DJGPP, Watcom and VC linkers (if compiled to COFF format).
  8.   The 16bit version works with (at least) TASM/TLINK and BC.
  9.  
  10. - In Watcom and VC files, you can use the following function declaration
  11.   (modify if you are using aP_depack_asm_fast):
  12.  
  13.     #ifdef __cplusplus
  14.     extern "C" {
  15.     #endif
  16.  
  17.     unsigned int __cdecl aP_depack_asm(unsigned char *, unsigned char *);
  18.  
  19.     #ifdef __cplusplus
  20.     } /* extern "C" */
  21.     #endif
  22.  
  23. - In DJGPP files, you can use the following declaration
  24.   (modify if you are using aP_depack_asm_fast):
  25.  
  26.     #ifdef __cplusplus
  27.     extern "C" {
  28.     #endif
  29.  
  30.     unsigned int aP_depack_asm(unsigned char *, unsigned char *);
  31.  
  32.     #ifdef __cplusplus
  33.     } /* extern "C" */
  34.     #endif
  35.  
  36. - In BC (DOS) files, you can use the following function declaration to use
  37.   the 16bit depacker:
  38.  
  39.     #ifdef __cplusplus
  40.     extern "C" {
  41.     #endif
  42.  
  43.     unsigned long aP_depack16_asm(unsigned char far*, unsigned char far*);
  44.  
  45.     #ifdef __cplusplus
  46.     } /* extern "C" */
  47.     #endif
  48.